﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebSolutions
{
    public partial class MasterPage : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.Url.AbsolutePath.ToLower().Contains("web.aspx"))
            {
                LinkWeb.CssClass = "itemSelected";
            }

            if (Request.Url.AbsolutePath.ToLower().Contains("analisisdatos.aspx"))
            {
                LinkAnalisis.CssClass = "itemSelected";
            }

            if (Request.Url.AbsolutePath.ToLower().Contains("contacto.aspx"))
            {
                LinkContacto.CssClass = "itemSelected";
            }

            if (Request.Url.AbsolutePath.ToLower().Contains("reparaciones.aspx"))
            {
                LinkReparaciones.CssClass = "itemSelected";
            }
        }

    }
}